package czx.drools.common.log;

import org.apache.log4j.Level;

/**
 * @Description: TODO
 * @author: chenzx
 * @date: 2023/12/21 17:20
 */
public interface Log {

    boolean isDebugEnabled();

    boolean isInfoEnabled();

    boolean isWarnEnabled();

    boolean isErrorEnabled();

    boolean isFatalEnabled();

    void debug(String paramString, Throwable paramThrowable);

    void debug(String paramString, Object paramobject);


    void debug(String paramString, Object paramobject, Throwable paramThrowable);

    void info(String paramString, Throwable paramThrowable);

    void info(String paramString, Object paramobject);


    void info(String paramString, Object paramobject, Throwable paramThrowable);

    void warn(String paramString, Throwable paranThrowable);

    void warn(String paramString, Object paramobject);


    void warn(String paramString, Object paramobject, Throwable paramThrowable);

    void error(String paramString, Throwable paramThrowable);

    void error(String paramString, Object paramobject);


    void error(String paramString, Object paramobject, Throwable paramThrowable);

    void fatal(String paramString, Throwable paramThrowable);

    void fatal(String paramString, Object paramobject);
    void fatal(String paramString, Object paramobject, Throwable paramThrowable);

    void setLevel(Level paramLevel);

}
